package bjtu.annotation.controller;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@EnableAutoConfiguration 
@RequestMapping("/annotation")
public class ViewController {

	@RequestMapping("/login")
	public String loginView() {
		return "login";
	}
	
	@RequestMapping("/register")
	public String registerView() {
		return "register";
	}
}
